#include <REGX52.H>
#include "Delay.H"
#include "Time0.H"
#include "Buzzer.H"
sbit Buzzer=P2^5;
void main()
{
	Timer0INIT();
	while(1)
	{
			
	}
}
void Timer0_Routine() interrupt 1 //中断函数
{	
	static unsigned int Timecount;//中断变量,static 静态变量。
	TL0 = 0x18;		//设置定时初值
	TH0 = 0xFC;		//设置定时初值
	Buzzer=!Buzzer;
}	

	
